package operation;

import book.Book;
import book.BookList;
import operation.Ioperation;

public class ShowBook implements Ioperation {
    public void work(BookList bookList){
        for (int i = 0; i <bookList.getNumber() ; i++) {
            Book book=bookList.getBook(i);
            System.out.println(book);
        }
    }
}
